package cn.xzqwjw.taskmanager.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 任务完成评估表
 */
@TableName(value = "t_evaluation")
@EqualsAndHashCode(callSuper = true)
@Data
public class Evaluation extends Model<Evaluation> implements Serializable {

  @TableField(exist = false)
  private static final long serialVersionUID = 1L;

  @Override
  public Serializable pkVal() {
    return this.id;
  }

  /**
   * 自动编号
   */
  @TableId(type = IdType.AUTO)
  private Integer id;

  /**
   * 所属任务id
   */
  private Integer idTask;

  /**
   * 评估人id
   */
  private Integer idAdmin;

  /**
   * 完成情况评估内容
   */
  private String content;

  /**
   * 评估时间
   */
  private LocalDateTime dtCreate;

}